﻿using Nest;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ElasticSearch.Client.Test
{
    [ElasticsearchType(IdProperty = "ArticleId",Name = "Article")]
    public class Article
    {
        public int ArticleId { get; set; }
        public string ArticleTitle { get; set; }
        public string SysTag { get; set; }
        public string ArticleTag { get; set; }
        public int ViewCount { get; set; }
        public DateTime AuditTime { get; set; }
        public string ArticleContent { get; set; }
    }
}
